package com.example.demo.web.rest.evt;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;

/**
 * 用户托管参数
 * @author zhengmf
 * @date 2018.01.11
 */
@ApiModel("用户托管参数")
public class UserTrusteeshipEvt implements Serializable {
    private static final long serialVersionUID = -3234234481773040312L;
    @ApiModelProperty("ID")
    private Long id;

    @ApiModelProperty("托管人id")
    private Long userId;

    @ApiModelProperty("被托管人id")
    private Long userTrusId;

    @ApiModelProperty("托管开始时间")
    private Date startTime;

    @ApiModelProperty("托管结束时间")
    private Date endTime;

    @ApiModelProperty("托管类型")
    private String trusType;

    @ApiModelProperty("状态")
    private String status;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getUserTrusId() {
        return userTrusId;
    }

    public void setUserTrusId(Long userTrusId) {
        this.userTrusId = userTrusId;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public String getTrusType() {
        return trusType;
    }

    public void setTrusType(String trusType) {
        this.trusType = trusType;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    @Override
    public String toString() {
        return "UserTrusteeshipEvt{" +
            "id=" + id +
            ", userId='" + userId + '\'' +
            ", userTrusId='" + userTrusId + '\'' +
            ", startTime=" + startTime +
            ", endTime=" + endTime +
            ", trusType='" + trusType + '\'' +
            ", status='" + status + '\'' +
            '}';
    }
}
